package com.hooya.fa.eu.biz.dao.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description 1
 * @Author : Zongz
 * @Copyright Copyright (c) 豪雅集团
 * @Create 2024/1/30
 * @Version 1.0.0
 */
@Mapper
public interface EuFbaMapper {

    @Select("select distinct upper(trim(fromcountry)) as fromcountry " +
            "from eu_fba_order_2303 where fromcountry is not null")
    List<String> getFbaCountryList();

	@DS("europe")
	@Select("select distinct upper(trim(fromcountry)) as fromcountry " +
			"from eu_fba_order_2303 where fromcountry is not null")
	List<String> getFbaCountryListDaily();
}
